package pyip.lib.javalearn.aop.dynamicproxy.spring.aspectj.declareparents;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.DeclareParents;
import org.springframework.stereotype.Component;

import pyip.lib.javalearn.aop.dynamicproxy.spring.introduction.Apology;

@Aspect
@Component
public class GreetingAspectJ {

    @DeclareParents(value = "pyip.lib.javalearn.aop.dynamicproxy.spring.aspectj.declareparents.GreetingDeclareparentsImpl", defaultImpl = ApologyImpl.class)
    private Apology apology;
}